package edu.gduf.parcel.common.web;

import java.util.Date;
import java.util.Map;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class HelloController {
	private String message = "Welcome To Use the Parcel!";

	@RequestMapping("/")
	public String sayHello(Map<String, Object> map) {
		map.put("time", new Date());
		map.put("message", this.message);
		return "hello";
	}
}
